﻿<controls:ChildWindow
    x:Class="Leak.Test.ClosingOverlay.Silverlight.View.TestChildWindowWithBehaviour"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:Behaviors="clr-namespace:OverlayClosingBehaviorProject;assembly=OverlayClosingBehaviorProject"
    >
    
    <i:Interaction.Behaviors>
        <Behaviors:OverlayClosingChildWindowBehavior
            DisabledClosingOverlay="False"
            RightMouseButtonClosingTo="False"
        />
    </i:Interaction.Behaviors>
    
</controls:ChildWindow>